package cn.miwu52.homeworkerp.bean;

public class Product {
    private String id;
    private String name;
    private Integer sumInEntrepot;//累计入库
    private Integer sumOutEntrepot;//累计出库
    private Integer InEntrepot;//当前在库
    private Integer entrepotId;//所属仓库id
    private String imageUrl;//商品图片

    public Product() {
    }

    public Product(String id, String name, Integer sumInEntrepot, Integer sumOutEntrepot, Integer inEntrepot, Integer entrepotId, String imageUrl) {
        this.id = id;
        this.name = name;
        this.sumInEntrepot = sumInEntrepot;
        this.sumOutEntrepot = sumOutEntrepot;
        InEntrepot = inEntrepot;
        this.entrepotId = entrepotId;
        this.imageUrl = imageUrl;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSumInEntrepot() {
        return sumInEntrepot;
    }

    public void setSumInEntrepot(Integer sumInEntrepot) {
        this.sumInEntrepot = sumInEntrepot;
    }

    public Integer getSumOutEntrepot() {
        return sumOutEntrepot;
    }

    public void setSumOutEntrepot(Integer sumOutEntrepot) {
        this.sumOutEntrepot = sumOutEntrepot;
    }

    public Integer getInEntrepot() {
        return InEntrepot;
    }

    public void setInEntrepot(Integer inEntrepot) {
        InEntrepot = inEntrepot;
    }

    public Integer getEntrepotId() {
        return entrepotId;
    }

    public void setEntrepotId(Integer entrepotId) {
        this.entrepotId = entrepotId;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    @Override
    public String toString() {
        return "Product{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", sumInEntrepot=" + sumInEntrepot +
                ", sumOutEntrepot=" + sumOutEntrepot +
                ", InEntrepot=" + InEntrepot +
                ", entrepotId=" + entrepotId +
                ", imageUrl='" + imageUrl + '\'' +
                '}';
    }
}
